package modules

type Auth struct {
	Id          int    `json:"id"`
	AuthName    string `json:"auth_name"`
	Description string `json:"description"`
	Path        string `json:"path"`
	AddTime     int    `json:"add_time"`
	Roles       []Role `gorm:"many2many:role_auth" json:"roles"`
}

func (Auth) TableName() string {
	return "auth"
}
